package cn.topcodes.tcsf.app.domain.form;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * Created by Unicorn on 2017/7/26.
 */
@Data
public class AppAboutSettings implements Serializable {

    @Length(min = 0, max = 100, message = "Company name length is 0 ~ 100 characters")
    private String companyName;

    @Length(min = 0, max = 100, message = "Company address length is 0 ~ 100 characters")
    private String companyAddress;

    @Length(min = 0, max = 100, message = "Company phone length is 0 ~ 100 characters")
    private String companyTel;

    @Length(min = 0, max = 100, message = "Company e-mail length is 0 ~ 100 characters")
    private String companyEmail;

    @Length(min = 0, max = 200, message = "Company homepage length is 0 ~ 200 characters")
    private String companyUrl;
}
